package com.rj.util;

import com.rj.core.math.Calc;

/**
 * 数值计算器
 *
 * @author ranlubo
 */
public final class CalcUtils {
    /**
     * 初始
     *
     * @param number 数值
     * @return Calc
     */
    public static Calc init(Object number) {
        Calc arith = new Calc();
        arith.setSwap(arith.create(number, false));
        return arith;
    }
}
